﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Demo
{
    public partial class Form2 : Form
    {
        public Form2()
        {
            InitializeComponent();
        }

        private void Form2_Load(object sender, EventArgs e)
        {
            toolStripStatusLabel1.Text = "登录用户：" + Form1.strName;//显示登录用户
            toolStripStatusLabel2.Text = " || 登录时间：" + DateTime.Now.ToLongTimeString();//显示登录时间
        }
    }
}
